package com.example.conference.service;

import com.example.conference.domain.Course;
import com.example.conference.mapper.CourseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;


@Service
public class CourseServiceImpl {
    @Autowired
    CourseMapper courseMapper;

    public List<Course> queryCourse(){
        return courseMapper.queryAll();
    }

}
